package com.nageoffer.shortlink.common.constant;

public class RedisConstant {
    public static final String USER_LOGIN_KEY = "short-link:login:";
    public static final String LOCK_USER_REGISTER_KEY = "short-link:lock:user-register:";
    public static final String LOCK_GOTO_SHORT_LINK_KEY = "short-link:lock:goto:";

    public static final String LOCK_GID_UPDATE_KEY="short-link:lock:gid:";

    public static final String LOCK_GROUP_CREATE_KEY="short-link:lock:group:";
    public static final String GOTO_SHORT_LINK_KEY = "short-link:goto:";
    public static final String NULL_SHORT_LINK_KEY = "short-link:null:";

    public static final String STATS_SHORT_LINK_UV_KEY = "short-link:stats:uv:";
    public static final String STATS_SHORT_LINK_UIP_KEY = "short-link:stats:uip:";

    public static final String DELAY_QUEUE_STATS_KEY = "short-link_delay-queue:stats";
    /**
     * 短链接监控消息保存队列 Topic 缓存标识
     */
    public static final String SHORT_LINK_STATS_STREAM_TOPIC_KEY = "short-link:stats-stream";

    /**
     * 短链接监控消息保存队列 Group 缓存标识
     */
    public static final String SHORT_LINK_STATS_STREAM_GROUP_KEY = "short-link:stats-stream:only-group";
}
